package com.springboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.springboot.mapper.UserMapper;
import com.springboot.pojo.User;

@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;

	public User findById(Long id) {
		return this.userMapper.findById(id);
	}
}
